package com.baosight.sczx.common.zm.cInterface.cm;

import java.util.HashMap;
import java.util.Map;

import com.baosight.iplat4j.core.spring.SpringApplicationContext;
import com.baosight.iplat4j.dao.Dao;

/**
 * 物资结转明细
 * <p>Title: MaterialType.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 杨鸣
 * @version 1.0
 * <pre>Histroy:
 *          2011-6-1 下午05:20:13  杨鸣  Create
 *</pre>
 */
public class MaterialBaseHisDetail {
	
	private static Dao dao = (Dao)SpringApplicationContext.getBean("dao");
	
/**
 * 从库存信息中复制到结转明细
 * <p>Function: InsertDataTORiskResult</p>
 * <p>Description: </p>
 * <p>return value:boolean</p>
 * <p>throws Exception:</p>
 * <p>History:
 *    2011-6-28下午04:25:56 杨鸣
 * </p>
 *
 */
	public static boolean InsertHisDetailFromBase(){ 
		Map<String, String> _args = new HashMap<String, String>();
		try {
			 dao.insert("ZMCMMaterialBaseHisDetail.insertHisDetailFromBase", _args);

		} catch (Exception e) {
			return false;
			
		}
		return true;
	}
}
